/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2022-12-01 14:24:29
 * @LastEditors: Andy
 * @LastEditTime: 2023-02-15 10:20:06
 */
export const columns = [
  {
    label: '角色名称',
    minWidth: 150,
    width: 'auto',
    prop: 'roleName',
    fixed: true
  },
  {
    label: '角色编码',
    prop: 'roleCode',
    width: 'auto',
    fixed: true
  },
  {
    label: '角色类型',
    prop: 'roleType',
    width: 'auto',
    fixed: true
  },
  {
    label: '组织机构',
    prop: 'orgName',
    width: 'auto',
    fixed: true
  },

  {
    label: '角色描述',
    prop: 'remark',
    width: 'auto'
  },
  {
    label: '是否启用',
    prop: 'state',
    minWWidth: 110,
    width: 'auto'
  },
  {
    label: '创建时间',
    prop: 'createTime',
    width: 'auto',
    minWidth: 160
  }
]

export const actions = [
  {
    key: 'edit',
    text: '编辑',
    permissions: 'upms:role:update'
  },
  {
    key: 'delete',
    text: '删除',
    permissions: 'upms:role:delete'
  },
  {
    key: 'auth',
    text: '权限设置',
    permissions: 'upms:role:auths'
  }
]
